/*
 * @Author: nomap
 * @Date: 2020-03-24 16:23:09
 * @LastEditTime: 2020-04-16 10:30:47
 * @LastEditors: nomap
 * @Description: 
 */
module.exports = {
  productionSourceMap: false,
  css: {
    loaderOptions: {
      less: {
        javascriptEnabled: true,
        modifyVars: {
          'primary-color': '#40a9ff',
          'link-color': '#1DA57A',
          'border-radius-base': '2px',
        },
      }
    }
  },
  devServer: {
    proxy: {
      '/yesapi': {
        target: 'http://hd215.api.yesapi.cn/',
        ws: true,
        changeOrigin: true,
        pathRewrite: {
          '/yesapi': '/yesapi'
        }
      },
    }
  },

}